<?php
namespace app\common\enum;

class ProfitSharing extends Base
{
	protected static $options = ['N' => '不分账', 'Y' => '分账'];
    protected static $codeOptions = ['bufenzhang' => 'N', 'fenzhang' => 'Y'];

    public static function code2key($code) {
        return static::$codeOptions[$code];
    }

    public static function showText($key) {
        return static::$options[$key];
    }


}